package com.bai.ad.vo;

import com.google.common.base.Strings;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * ClassName CreateUserRequest
 *
 * @author Bai
 * @version 1.0
 * @date 2019/2/19 0019 下午 22:04
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CreateUserRequest {

    private String username;

    public boolean validate(){
        return !Strings.isNullOrEmpty(username);
    }
}
